package com.cmw.controller.global.configuration;

import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @Remark Redis Session集群共享 session 过期是间 ： 1个小时
 * @Author 程明卫
 * @Date 2017-05-18 17:26
 */
@Configuration
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 60*60)
public class SessionConfig {
}
